<template>
  <div>
    <el-card class="box-card">
      创建日期:<el-date-picker v-model="value" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" size="mini">
      </el-date-picker>
      请输入角色名:
      <el-input size="mini" v-model="value" style="width:180px;" />
      <el-button type="primary" icon="el-icon-search" size="mini" style="margin-left:10px;">搜索</el-button>
    </el-card>
    <el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 98%;margin:0px 10px;">
      <el-table-column prop="date" label="所述事件类型" />
      <el-table-column prop="name" label="结论" />
      <el-table-column prop="name" label="状态" />
      <el-table-column prop="name" label="操作">
        <template slot-scope="scope">
          <el-button type="text" icon="el-icon-edit" size="mini"></el-button>
          <el-button type="text" icon="el-icon-share" size="mini"></el-button>
          <el-button type="text" icon="el-icon-delete" size="mini"></el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  data() {
    return {
      value: "",
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
      options: [
        {
          value: "选项1",
          label: "黄金糕",
        },
        {
          value: "选项2",
          label: "双皮奶",
        },
        {
          value: "选项3",
          label: "蚵仔煎",
        },
        {
          value: "选项4",
          label: "龙须面",
        },
        {
          value: "选项5",
          label: "北京烤鸭",
        },
      ],
    };
  },
};
</script>
<style scoped>
body {
  background-color: #f8f9fa;
}
.box-card {
  margin: 5px;
}
.el-card /deep/ .el-card__header {
  padding: 10px 20px;
  background-color: #e2e2e2;
}
.top-ipt {
  margin-left: 5px;
}
</style>